package com.ecas.service.impl;

import com.ecas.core.base.manager.BaseManager;
import com.ecas.core.base.service.impl.BaseServiceImpl;

import com.ecas.dao.systemmanager.UserDao;

import com.ecas.service.UserService;


import com.ecas.service.dto.systemanager.UserDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lenovo on 2017/12/20.
 */

@Service("userService")
public class UserServiceImpl extends BaseServiceImpl<BaseManager<UserDTO>,UserDTO> implements UserService {
    private static final Logger LOGGER = LoggerFactory.getLogger(UserServiceImpl.class);

    @Autowired
    private UserDao userDao;

   // @Autowired
    //private IRoleDao roleDao;*/

    public UserServiceImpl() {
        LOGGER.debug("UserServiceImpl constructure");
    }


    @Override
    public UserDTO getUserByName(String userName) {
        LOGGER.debug("getUserByName,userName:{}", userName);
        userDao.selectById(1L);
        return null;
    }

}
